How can I create a dynamic text attribute, in which the user writes a specific word and that word automatically gets bold.
SystemAdmin - Thu Jul 30 08:48:59 EDT 2009 |
|
Re: Create a Dynamic Text Attribute dpechacek - Thu Jul 30 12:03:29 EDT 2009
You can have a trigger on the attribute so that when you change the value of the attribute from the empty string, it wraps the text in the bold RTF tags. That should work. After the first time, any new text entered should also be bold. But you'd have to test that.
AAI Services, Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
|
|
Re: Create a Dynamic Text Attribute SystemAdmin - Mon Aug 31 12:47:15 EDT 2009
David,
I checked on what you told me but it did not work, any other way or an example? Thanks.
|
|
Re: Create a Dynamic Text Attribute llandale - Tue Sep 01 15:15:52 EDT 2009 SystemAdmin - Mon Aug 31 12:47:15 EDT 2009
David,
I checked on what you told me but it did not work, any other way or an example? Thanks.
He means a pre-save-attr trigger, that gets the value about to be saved to the attribute, finds the word in question, surrounds it with bold RTF codes, and uses the "void value(Trigger t, Buffer b)" command to set the value, and approve the pre-trigger. I've never done that.
|
|